import {createApp} from 'vue'
import {createPinia} from 'pinia'

// @ts-ignore
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
import locale from 'element-plus/es/locale/lang/zh-cn'
import * as Elicons from "@element-plus/icons-vue"


const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus, {locale})
for (let name in Elicons) {
    app.component(name, Elicons[name])
}


app.mount('#app')
